﻿function ShowSearchDialog(title, width, height, businessObjectGuid) {

    $ModalDialog = CreateModalDialog(title);
    $ModalDialog.find(".modalContent").css('width', width);
    $ModalDialog.find(".modalContent").css('height', height);
    $ModalDialog.find(".modalInnerContent").load("/Home/Search", { businessObjectGuid: businessObjectGuid });

    $("body").append($ModalDialog);

    ResizeModalDialog();
}
